package com.oracle.application.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.oracle.application.entity.Phone;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zjc
 * @since 2021-07-06
 */
@Mapper
public interface PhoneMapper extends BaseMapper<Phone> {

      @Update("update phone set status=1 where id = #{id}")
       void updatePhoneId(Integer id);


}
